package reflect;

import reflect.annotations.AutoRunClass;
import reflect.annotations.AutoRunMethod;

import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;

@AutoRunClass
public class Student {
    @AutoRunMethod(10)
        public void study(){
            System.out.println("学生:good good study!day day up!");
        }

        public void playGame(){
            System.out.println("学生:打游戏!");
        }
    }

